package com.netgeeker.univbuzz.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Service entity. @author MyEclipse Persistence Tools
 */

public class Service implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private String title;
	private String description;
	private Float price;
	private String location;
	private String status;
	private Date createdate;
	private String type;
	private Set replies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Service() {
	}

	/** minimal constructor */
	public Service(String title, String description, Float price,
			String location, Date createdate) {
		this.title = title;
		this.description = description;
		this.price = price;
		this.location = location;
		this.createdate = createdate;
	}

	/** full constructor */
	public Service(User user, String title, String description, Float price,
			String location, String status, Date createdate, String type,
			Set replies) {
		this.user = user;
		this.title = title;
		this.description = description;
		this.price = price;
		this.location = location;
		this.status = status;
		this.createdate = createdate;
		this.type = type;
		this.replies = replies;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public String getLocation() {
		return this.location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Set getReplies() {
		return this.replies;
	}

	public void setReplies(Set replies) {
		this.replies = replies;
	}

}